replace*=0; (* The new graphical object completely replaces whatever was before in the destination area. *)
paint*=1; (* The new graphical object is added to whatever was before in the dertination area. *)
invert*=2; (* The new graphical object inverts whatever was before in the dertination area. The color specifies, which planes are affected (inverted) and which aren't *)
PictFileId*= - 4093;
BitMapPtr=POINTER TO G.BitMap;
LayerPtr=POINTER TO G.Layer;
RastPortPtr=POINTER TO G.RastPort;
WindowPtr=POINTER TO I.Window;
ScreenPtr=POINTER TO I.Screen;
ColMem=ARRAY 256 OF RECORD r, g, b: CHAR END;
Pattern*=LONGINT;
Picture*=POINTER TO PictureDesc;
Notifier*=PROCEDURE (P: Picture; X, Y, W, H : INTEGER);
PictureDesc*=RECORD
width*,height*,depth*:INTEGER;
notify*:Notifier;
bitMap:G.BitMap; (* Used only in CreateLayer, FreeLayer; V<39*)
bitMapPtr:G.BitMapPtr; (* Used only in CreateLayer, FreeLayer; V>=39*)
layer:G.LayerPtr;
layerInfo: G.LayerInfoPtr; (* Used only in CreateLayer, FreeLayer *)